package com.lijie.ljblog.model.vo;

import lombok.Data;

/**
 * @Description
 * @Author lijie
 * @Date 2022/10/25 15:16
 **/
@Data
public class MatchResponseVO {
    private boolean ok = true;
    /**
     * 操作类型
     */
    private String reason ;
    /**
     * 信息
     */
    private String message ;

    /**
     * d对手名字
     */
    private String opponentName ;


    public void error(String message){
        this.message=message;
        this.ok=false;
    }
    public void success(String reason,String message){
        this.message=message;
        this.reason=reason;
        this.ok=true;
    }
}
